/*
* Copyright (c) 2025 Huawei Device Co., Ltd.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including but not limited to the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to provide persons with access to the Software
* subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGE OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/

.adaptive-layout {
  height: 100%;
}

.adaptive-layout .list-container {
  height: 100%;
  overflow: hidden;
  background: #fff;
}

.adaptive-layout .list-container .container {
  height: 100%;
}

.adaptive-layout .list-container .container .title-wrap {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.adaptive-layout .list-container .container .title-wrap .title-info {
  display: flex;
  align-items: center;
}

.adaptive-layout .list-container .container .title-wrap .go-back {
  display: flex;
  align-items: center;
  margin-right: 8px;
}

.adaptive-layout .list-container .container .title-wrap .title-link .title {
  color: rgba(0, 0, 0, 0.9);
  font-size: 20px;
  font-weight: 700;
  line-height: 35px;
  text-align: left;
}

.adaptive-layout .list-container .container .message-list {
  height: calc(100% - 56px);
  margin-top: 8px;
  padding: 0 8px;
  overflow: auto;
}

.adaptive-layout .list-container .container .message-list li {
  list-style: none;
  height: 72px;
  border-radius: 16px;
}

.adaptive-layout .list-container .container .message-list li .item-list {
  display: flex;
  padding: 14px;
  height: 100%;
  box-sizing: border-box;
}

.adaptive-layout
  .list-container
  .container
  .message-list
  li
  .item-list
  .item-img-wrap {
  position: relative;
}

.adaptive-layout
  .list-container
  .container
  .message-list
  li
  .item-list
  .item-img-wrap
  .item-img {
  width: 40px;
  height: 40px;
  margin-right: 16px;
}

.adaptive-layout
  .list-container
  .container
  .message-list
  li
  .item-list
  .item-img-wrap
  .unread-bubble-wrap {
  position: absolute;
  height: 16px;
  min-width: 16px;
  border-radius: 8px;
  background: rgb(232, 72, 38);
  top: -6px;
  left: 28px;
}

.adaptive-layout
  .list-container
  .container
  .message-list
  li
  .item-list
  .item-img-wrap
  .unread-bubble-wrap
  .unread-bubble {
  color: rgb(255, 255, 255);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0px;
  display: block;
  line-height: 16px;
  text-align: center;
  padding: 0 3px;
}

.adaptive-layout
  .list-container
  .container
  .message-list
  li
  .item-list
  .item-content {
  flex: 1;
  padding: 0;
}

.adaptive-layout
  .list-container
  .container
  .message-list
  li
  .item-list
  .item-content
  .content-main {
  font-size: 16px;
  font-weight: 500;
  line-height: 21px;
  color: rgba(0, 0, 0, 0.9);
  text-align: left;
}

.adaptive-layout
  .list-container
  .container
  .message-list
  li
  .item-list
  .item-content
  .content-secondary {
  font-size: 14px;
  font-weight: 400;
  line-height: 19px;
  text-align: left;
  color: rgba(0, 0, 0, 0.6);
}

.adaptive-layout
  .list-container
  .container
  .message-list
  li
  .item-list
  .item-time {
  color: rgb(24, 36, 49);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0px;
  text-align: left;
}

.adaptive-layout .list-container .container .message-list .item-active {
  background: rgba(10, 89, 247, 0.1);
}

.adaptive-layout .toolbar_info {
  color: rgb(10, 89, 247);
}
